package tw.com.fetc.bms.exception;


public class BmsClientException extends Exception
{
    private int reasonCode;
    
    public BmsClientException()
    {
    }

    public BmsClientException(String msg)
    {
        super(msg);
    }

    public BmsClientException(Throwable throwable)
    {
        super(throwable);
    }

    public BmsClientException(String msg, Throwable throwable)
    {
        super(msg, throwable);
    }

    public BmsClientException(int reasonCode)
    {
        this.reasonCode = reasonCode;
    }

    public BmsClientException(int reasonCode, String msg)
    {
        super(msg);
        this.reasonCode = reasonCode;
    }

    public BmsClientException(int reasonCode, Throwable throwable)
    {
        super(throwable);
        this.reasonCode = reasonCode;
    }

    public BmsClientException(int reasonCode, String msg, Throwable throwable)
    {
        super(msg, throwable);
        this.reasonCode = reasonCode;
    }

    public int getReasonCode()
    {
        return reasonCode;
    }

    public void setReasonCode(int reasonCode)
    {
        this.reasonCode = reasonCode;
    }
}